package cn.wgx.modules.sys.entity;

import cn.wgx.modules.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * Created By MBG-GUI-EXTENSION https://github.com/spawpaw/mybatis-generator-gui-extension
 * Description:
 * 用户信息拓展表
 *
 * @author 
 */
public class SysUserExtend extends BaseEntity implements Serializable {
    /**
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer user_extend_id;

    /**
     * 用户ID
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer user_id;

    /**
     * 积分
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer points;

    /**
     * 收藏数量
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer favoriteNum;

    /**
     * 热度
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer heatNum;

    /**
     * 主题数量
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer theamNum;

    /**
     * 我关注的
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer focusNum;

    /**
     * 粉丝数量
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer fansNum;

    /**
     * 我的素材数量
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer resFileNum;

    /**
     * 我的文章数量
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer articleNum;

    /**
     * 存储资源大小(KB)
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Long storageSize;

    /**
     * 待审核文章数量
     *
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private Integer reviewNum;

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.user_extend_id
     *
     * @return the value of cgcenter..sys_user_extend.user_extend_id
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getUser_extend_id() {
        return user_extend_id;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withUser_extend_id(Integer user_extend_id) {
        this.setUser_extend_id(user_extend_id);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.user_extend_id
     *
     * @param user_extend_id the value for cgcenter..sys_user_extend.user_extend_id
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setUser_extend_id(Integer user_extend_id) {
        this.user_extend_id = user_extend_id;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.user_id
     *
     * @return the value of cgcenter..sys_user_extend.user_id
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getUser_id() {
        return user_id;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withUser_id(Integer user_id) {
        this.setUser_id(user_id);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.user_id
     *
     * @param user_id the value for cgcenter..sys_user_extend.user_id
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.points
     *
     * @return the value of cgcenter..sys_user_extend.points
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getPoints() {
        return points;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withPoints(Integer points) {
        this.setPoints(points);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.points
     *
     * @param points the value for cgcenter..sys_user_extend.points
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setPoints(Integer points) {
        this.points = points;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.favoriteNum
     *
     * @return the value of cgcenter..sys_user_extend.favoriteNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getFavoriteNum() {
        return favoriteNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withFavoriteNum(Integer favoriteNum) {
        this.setFavoriteNum(favoriteNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.favoriteNum
     *
     * @param favoriteNum the value for cgcenter..sys_user_extend.favoriteNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setFavoriteNum(Integer favoriteNum) {
        this.favoriteNum = favoriteNum;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.heatNum
     *
     * @return the value of cgcenter..sys_user_extend.heatNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getHeatNum() {
        return heatNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withHeatNum(Integer heatNum) {
        this.setHeatNum(heatNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.heatNum
     *
     * @param heatNum the value for cgcenter..sys_user_extend.heatNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setHeatNum(Integer heatNum) {
        this.heatNum = heatNum;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.theamNum
     *
     * @return the value of cgcenter..sys_user_extend.theamNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getTheamNum() {
        return theamNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withTheamNum(Integer theamNum) {
        this.setTheamNum(theamNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.theamNum
     *
     * @param theamNum the value for cgcenter..sys_user_extend.theamNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setTheamNum(Integer theamNum) {
        this.theamNum = theamNum;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.focusNum
     *
     * @return the value of cgcenter..sys_user_extend.focusNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getFocusNum() {
        return focusNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withFocusNum(Integer focusNum) {
        this.setFocusNum(focusNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.focusNum
     *
     * @param focusNum the value for cgcenter..sys_user_extend.focusNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setFocusNum(Integer focusNum) {
        this.focusNum = focusNum;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.fansNum
     *
     * @return the value of cgcenter..sys_user_extend.fansNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getFansNum() {
        return fansNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withFansNum(Integer fansNum) {
        this.setFansNum(fansNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.fansNum
     *
     * @param fansNum the value for cgcenter..sys_user_extend.fansNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setFansNum(Integer fansNum) {
        this.fansNum = fansNum;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.resFileNum
     *
     * @return the value of cgcenter..sys_user_extend.resFileNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getResFileNum() {
        return resFileNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withResFileNum(Integer resFileNum) {
        this.setResFileNum(resFileNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.resFileNum
     *
     * @param resFileNum the value for cgcenter..sys_user_extend.resFileNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setResFileNum(Integer resFileNum) {
        this.resFileNum = resFileNum;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.articleNum
     *
     * @return the value of cgcenter..sys_user_extend.articleNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getArticleNum() {
        return articleNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withArticleNum(Integer articleNum) {
        this.setArticleNum(articleNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.articleNum
     *
     * @param articleNum the value for cgcenter..sys_user_extend.articleNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setArticleNum(Integer articleNum) {
        this.articleNum = articleNum;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.storageSize
     *
     * @return the value of cgcenter..sys_user_extend.storageSize
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Long getStorageSize() {
        return storageSize;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withStorageSize(Long storageSize) {
        this.setStorageSize(storageSize);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.storageSize
     *
     * @param storageSize the value for cgcenter..sys_user_extend.storageSize
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setStorageSize(Long storageSize) {
        this.storageSize = storageSize;
    }

    /**
     * This method returns the value of the database column cgcenter..sys_user_extend.reviewNum
     *
     * @return the value of cgcenter..sys_user_extend.reviewNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public Integer getReviewNum() {
        return reviewNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public SysUserExtend withReviewNum(Integer reviewNum) {
        this.setReviewNum(reviewNum);
        return this;
    }

    /**
     * This method sets the value of the database column cgcenter..sys_user_extend.reviewNum
     *
     * @param reviewNum the value for cgcenter..sys_user_extend.reviewNum
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    public void setReviewNum(Integer reviewNum) {
        this.reviewNum = reviewNum;
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", user_extend_id=").append(user_extend_id);
        sb.append(", user_id=").append(user_id);
        sb.append(", points=").append(points);
        sb.append(", favoriteNum=").append(favoriteNum);
        sb.append(", heatNum=").append(heatNum);
        sb.append(", theamNum=").append(theamNum);
        sb.append(", focusNum=").append(focusNum);
        sb.append(", fansNum=").append(fansNum);
        sb.append(", resFileNum=").append(resFileNum);
        sb.append(", articleNum=").append(articleNum);
        sb.append(", storageSize=").append(storageSize);
        sb.append(", reviewNum=").append(reviewNum);
        sb.append("]");
        return sb.toString();
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SysUserExtend other = (SysUserExtend) that;
        return (this.getUser_extend_id() == null ? other.getUser_extend_id() == null : this.getUser_extend_id().equals(other.getUser_extend_id()))
            && (this.getUser_id() == null ? other.getUser_id() == null : this.getUser_id().equals(other.getUser_id()))
            && (this.getPoints() == null ? other.getPoints() == null : this.getPoints().equals(other.getPoints()))
            && (this.getFavoriteNum() == null ? other.getFavoriteNum() == null : this.getFavoriteNum().equals(other.getFavoriteNum()))
            && (this.getHeatNum() == null ? other.getHeatNum() == null : this.getHeatNum().equals(other.getHeatNum()))
            && (this.getTheamNum() == null ? other.getTheamNum() == null : this.getTheamNum().equals(other.getTheamNum()))
            && (this.getFocusNum() == null ? other.getFocusNum() == null : this.getFocusNum().equals(other.getFocusNum()))
            && (this.getFansNum() == null ? other.getFansNum() == null : this.getFansNum().equals(other.getFansNum()))
            && (this.getResFileNum() == null ? other.getResFileNum() == null : this.getResFileNum().equals(other.getResFileNum()))
            && (this.getArticleNum() == null ? other.getArticleNum() == null : this.getArticleNum().equals(other.getArticleNum()))
            && (this.getStorageSize() == null ? other.getStorageSize() == null : this.getStorageSize().equals(other.getStorageSize()))
            && (this.getReviewNum() == null ? other.getReviewNum() == null : this.getReviewNum().equals(other.getReviewNum()));
    }

    /**
     *
     * @mbg.generated Wed May 29 16:50:04 CST 2019
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUser_extend_id() == null) ? 0 : getUser_extend_id().hashCode());
        result = prime * result + ((getUser_id() == null) ? 0 : getUser_id().hashCode());
        result = prime * result + ((getPoints() == null) ? 0 : getPoints().hashCode());
        result = prime * result + ((getFavoriteNum() == null) ? 0 : getFavoriteNum().hashCode());
        result = prime * result + ((getHeatNum() == null) ? 0 : getHeatNum().hashCode());
        result = prime * result + ((getTheamNum() == null) ? 0 : getTheamNum().hashCode());
        result = prime * result + ((getFocusNum() == null) ? 0 : getFocusNum().hashCode());
        result = prime * result + ((getFansNum() == null) ? 0 : getFansNum().hashCode());
        result = prime * result + ((getResFileNum() == null) ? 0 : getResFileNum().hashCode());
        result = prime * result + ((getArticleNum() == null) ? 0 : getArticleNum().hashCode());
        result = prime * result + ((getStorageSize() == null) ? 0 : getStorageSize().hashCode());
        result = prime * result + ((getReviewNum() == null) ? 0 : getReviewNum().hashCode());
        return result;
    }
}